package com.lilosoft.business.cga.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CgaCaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CgaCaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseIdIsNull() {
            addCriterion("CASE_ID is null");
            return (Criteria) this;
        }

        public Criteria andCaseIdIsNotNull() {
            addCriterion("CASE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCaseIdEqualTo(String value) {
            addCriterion("CASE_ID =", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotEqualTo(String value) {
            addCriterion("CASE_ID <>", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThan(String value) {
            addCriterion("CASE_ID >", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_ID >=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThan(String value) {
            addCriterion("CASE_ID <", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThanOrEqualTo(String value) {
            addCriterion("CASE_ID <=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLike(String value) {
            addCriterion("CASE_ID like", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotLike(String value) {
            addCriterion("CASE_ID not like", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdIn(List<String> values) {
            addCriterion("CASE_ID in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotIn(List<String> values) {
            addCriterion("CASE_ID not in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdBetween(String value1, String value2) {
            addCriterion("CASE_ID between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotBetween(String value1, String value2) {
            addCriterion("CASE_ID not between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("PROJECT_ID is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("PROJECT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
            addCriterion("PROJECT_ID =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
            addCriterion("PROJECT_ID <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
            addCriterion("PROJECT_ID >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_ID >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
            addCriterion("PROJECT_ID <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_ID <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
            addCriterion("PROJECT_ID like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
            addCriterion("PROJECT_ID not like", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
            addCriterion("PROJECT_ID in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
            addCriterion("PROJECT_ID not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
            addCriterion("PROJECT_ID between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
            addCriterion("PROJECT_ID not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectNoIsNull() {
            addCriterion("PROJECT_NO is null");
            return (Criteria) this;
        }

        public Criteria andProjectNoIsNotNull() {
            addCriterion("PROJECT_NO is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNoEqualTo(String value) {
            addCriterion("PROJECT_NO =", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotEqualTo(String value) {
            addCriterion("PROJECT_NO <>", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoGreaterThan(String value) {
            addCriterion("PROJECT_NO >", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_NO >=", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLessThan(String value) {
            addCriterion("PROJECT_NO <", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_NO <=", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLike(String value) {
            addCriterion("PROJECT_NO like", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotLike(String value) {
            addCriterion("PROJECT_NO not like", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoIn(List<String> values) {
            addCriterion("PROJECT_NO in", values, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotIn(List<String> values) {
            addCriterion("PROJECT_NO not in", values, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoBetween(String value1, String value2) {
            addCriterion("PROJECT_NO between", value1, value2, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotBetween(String value1, String value2) {
            addCriterion("PROJECT_NO not between", value1, value2, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("PROJECT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("PROJECT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("PROJECT_NAME =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("PROJECT_NAME <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("PROJECT_NAME >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("PROJECT_NAME <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("PROJECT_NAME like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("PROJECT_NAME not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("PROJECT_NAME in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("PROJECT_NAME not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andCaseNameIsNull() {
            addCriterion("CASE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCaseNameIsNotNull() {
            addCriterion("CASE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNameEqualTo(String value) {
            addCriterion("CASE_NAME =", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameNotEqualTo(String value) {
            addCriterion("CASE_NAME <>", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameGreaterThan(String value) {
            addCriterion("CASE_NAME >", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_NAME >=", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameLessThan(String value) {
            addCriterion("CASE_NAME <", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameLessThanOrEqualTo(String value) {
            addCriterion("CASE_NAME <=", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameLike(String value) {
            addCriterion("CASE_NAME like", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameNotLike(String value) {
            addCriterion("CASE_NAME not like", value, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameIn(List<String> values) {
            addCriterion("CASE_NAME in", values, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameNotIn(List<String> values) {
            addCriterion("CASE_NAME not in", values, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameBetween(String value1, String value2) {
            addCriterion("CASE_NAME between", value1, value2, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseNameNotBetween(String value1, String value2) {
            addCriterion("CASE_NAME not between", value1, value2, "caseName");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeIsNull() {
            addCriterion("CASE_AREA_CODE is null");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeIsNotNull() {
            addCriterion("CASE_AREA_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeEqualTo(String value) {
            addCriterion("CASE_AREA_CODE =", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeNotEqualTo(String value) {
            addCriterion("CASE_AREA_CODE <>", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeGreaterThan(String value) {
            addCriterion("CASE_AREA_CODE >", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_AREA_CODE >=", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeLessThan(String value) {
            addCriterion("CASE_AREA_CODE <", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeLessThanOrEqualTo(String value) {
            addCriterion("CASE_AREA_CODE <=", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeLike(String value) {
            addCriterion("CASE_AREA_CODE like", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeNotLike(String value) {
            addCriterion("CASE_AREA_CODE not like", value, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeIn(List<String> values) {
            addCriterion("CASE_AREA_CODE in", values, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeNotIn(List<String> values) {
            addCriterion("CASE_AREA_CODE not in", values, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeBetween(String value1, String value2) {
            addCriterion("CASE_AREA_CODE between", value1, value2, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAreaCodeNotBetween(String value1, String value2) {
            addCriterion("CASE_AREA_CODE not between", value1, value2, "caseAreaCode");
            return (Criteria) this;
        }

        public Criteria andCaseAddressIsNull() {
            addCriterion("CASE_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andCaseAddressIsNotNull() {
            addCriterion("CASE_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andCaseAddressEqualTo(String value) {
            addCriterion("CASE_ADDRESS =", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressNotEqualTo(String value) {
            addCriterion("CASE_ADDRESS <>", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressGreaterThan(String value) {
            addCriterion("CASE_ADDRESS >", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_ADDRESS >=", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressLessThan(String value) {
            addCriterion("CASE_ADDRESS <", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressLessThanOrEqualTo(String value) {
            addCriterion("CASE_ADDRESS <=", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressLike(String value) {
            addCriterion("CASE_ADDRESS like", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressNotLike(String value) {
            addCriterion("CASE_ADDRESS not like", value, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressIn(List<String> values) {
            addCriterion("CASE_ADDRESS in", values, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressNotIn(List<String> values) {
            addCriterion("CASE_ADDRESS not in", values, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressBetween(String value1, String value2) {
            addCriterion("CASE_ADDRESS between", value1, value2, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andCaseAddressNotBetween(String value1, String value2) {
            addCriterion("CASE_ADDRESS not between", value1, value2, "caseAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNull() {
            addCriterion("REGISTER_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNotNull() {
            addCriterion("REGISTER_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeEqualTo(Date value) {
            addCriterion("REGISTER_TIME =", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotEqualTo(Date value) {
            addCriterion("REGISTER_TIME <>", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThan(Date value) {
            addCriterion("REGISTER_TIME >", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REGISTER_TIME >=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThan(Date value) {
            addCriterion("REGISTER_TIME <", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThanOrEqualTo(Date value) {
            addCriterion("REGISTER_TIME <=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIn(List<Date> values) {
            addCriterion("REGISTER_TIME in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotIn(List<Date> values) {
            addCriterion("REGISTER_TIME not in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeBetween(Date value1, Date value2) {
            addCriterion("REGISTER_TIME between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotBetween(Date value1, Date value2) {
            addCriterion("REGISTER_TIME not between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeIsNull() {
            addCriterion("ACCEPT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeIsNotNull() {
            addCriterion("ACCEPT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeEqualTo(Date value) {
            addCriterion("ACCEPT_TIME =", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeNotEqualTo(Date value) {
            addCriterion("ACCEPT_TIME <>", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeGreaterThan(Date value) {
            addCriterion("ACCEPT_TIME >", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ACCEPT_TIME >=", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeLessThan(Date value) {
            addCriterion("ACCEPT_TIME <", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeLessThanOrEqualTo(Date value) {
            addCriterion("ACCEPT_TIME <=", value, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeIn(List<Date> values) {
            addCriterion("ACCEPT_TIME in", values, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeNotIn(List<Date> values) {
            addCriterion("ACCEPT_TIME not in", values, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeBetween(Date value1, Date value2) {
            addCriterion("ACCEPT_TIME between", value1, value2, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andAcceptTimeNotBetween(Date value1, Date value2) {
            addCriterion("ACCEPT_TIME not between", value1, value2, "acceptTime");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescIsNull() {
            addCriterion("PROMISE_DAYS_DESC is null");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescIsNotNull() {
            addCriterion("PROMISE_DAYS_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescEqualTo(String value) {
            addCriterion("PROMISE_DAYS_DESC =", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescNotEqualTo(String value) {
            addCriterion("PROMISE_DAYS_DESC <>", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescGreaterThan(String value) {
            addCriterion("PROMISE_DAYS_DESC >", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescGreaterThanOrEqualTo(String value) {
            addCriterion("PROMISE_DAYS_DESC >=", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescLessThan(String value) {
            addCriterion("PROMISE_DAYS_DESC <", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescLessThanOrEqualTo(String value) {
            addCriterion("PROMISE_DAYS_DESC <=", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescLike(String value) {
            addCriterion("PROMISE_DAYS_DESC like", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescNotLike(String value) {
            addCriterion("PROMISE_DAYS_DESC not like", value, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescIn(List<String> values) {
            addCriterion("PROMISE_DAYS_DESC in", values, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescNotIn(List<String> values) {
            addCriterion("PROMISE_DAYS_DESC not in", values, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescBetween(String value1, String value2) {
            addCriterion("PROMISE_DAYS_DESC between", value1, value2, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseDaysDescNotBetween(String value1, String value2) {
            addCriterion("PROMISE_DAYS_DESC not between", value1, value2, "promiseDaysDesc");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeIsNull() {
            addCriterion("PROMISE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeIsNotNull() {
            addCriterion("PROMISE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeEqualTo(Date value) {
            addCriterion("PROMISE_TIME =", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeNotEqualTo(Date value) {
            addCriterion("PROMISE_TIME <>", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeGreaterThan(Date value) {
            addCriterion("PROMISE_TIME >", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PROMISE_TIME >=", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeLessThan(Date value) {
            addCriterion("PROMISE_TIME <", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeLessThanOrEqualTo(Date value) {
            addCriterion("PROMISE_TIME <=", value, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeIn(List<Date> values) {
            addCriterion("PROMISE_TIME in", values, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeNotIn(List<Date> values) {
            addCriterion("PROMISE_TIME not in", values, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeBetween(Date value1, Date value2) {
            addCriterion("PROMISE_TIME between", value1, value2, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andPromiseTimeNotBetween(Date value1, Date value2) {
            addCriterion("PROMISE_TIME not between", value1, value2, "promiseTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("END_TIME =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("END_TIME <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("END_TIME >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("END_TIME >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("END_TIME <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("END_TIME <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("END_TIME in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("END_TIME not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("END_TIME between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("END_TIME not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIsNull() {
            addCriterion("APPLY_OBJECT_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIsNotNull() {
            addCriterion("APPLY_OBJECT_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE =", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE <>", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeGreaterThan(String value) {
            addCriterion("APPLY_OBJECT_TYPE >", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE >=", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLessThan(String value) {
            addCriterion("APPLY_OBJECT_TYPE <", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLessThanOrEqualTo(String value) {
            addCriterion("APPLY_OBJECT_TYPE <=", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeLike(String value) {
            addCriterion("APPLY_OBJECT_TYPE like", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotLike(String value) {
            addCriterion("APPLY_OBJECT_TYPE not like", value, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeIn(List<String> values) {
            addCriterion("APPLY_OBJECT_TYPE in", values, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotIn(List<String> values) {
            addCriterion("APPLY_OBJECT_TYPE not in", values, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeBetween(String value1, String value2) {
            addCriterion("APPLY_OBJECT_TYPE between", value1, value2, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplyObjectTypeNotBetween(String value1, String value2) {
            addCriterion("APPLY_OBJECT_TYPE not between", value1, value2, "applyObjectType");
            return (Criteria) this;
        }

        public Criteria andApplySourceIsNull() {
            addCriterion("APPLY_SOURCE is null");
            return (Criteria) this;
        }

        public Criteria andApplySourceIsNotNull() {
            addCriterion("APPLY_SOURCE is not null");
            return (Criteria) this;
        }

        public Criteria andApplySourceEqualTo(String value) {
            addCriterion("APPLY_SOURCE =", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotEqualTo(String value) {
            addCriterion("APPLY_SOURCE <>", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceGreaterThan(String value) {
            addCriterion("APPLY_SOURCE >", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceGreaterThanOrEqualTo(String value) {
            addCriterion("APPLY_SOURCE >=", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLessThan(String value) {
            addCriterion("APPLY_SOURCE <", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLessThanOrEqualTo(String value) {
            addCriterion("APPLY_SOURCE <=", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLike(String value) {
            addCriterion("APPLY_SOURCE like", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotLike(String value) {
            addCriterion("APPLY_SOURCE not like", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceIn(List<String> values) {
            addCriterion("APPLY_SOURCE in", values, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotIn(List<String> values) {
            addCriterion("APPLY_SOURCE not in", values, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceBetween(String value1, String value2) {
            addCriterion("APPLY_SOURCE between", value1, value2, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotBetween(String value1, String value2) {
            addCriterion("APPLY_SOURCE not between", value1, value2, "applySource");
            return (Criteria) this;
        }

        public Criteria andCaseStateIsNull() {
            addCriterion("CASE_STATE is null");
            return (Criteria) this;
        }

        public Criteria andCaseStateIsNotNull() {
            addCriterion("CASE_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andCaseStateEqualTo(String value) {
            addCriterion("CASE_STATE =", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateNotEqualTo(String value) {
            addCriterion("CASE_STATE <>", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateGreaterThan(String value) {
            addCriterion("CASE_STATE >", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_STATE >=", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateLessThan(String value) {
            addCriterion("CASE_STATE <", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateLessThanOrEqualTo(String value) {
            addCriterion("CASE_STATE <=", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateLike(String value) {
            addCriterion("CASE_STATE like", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateNotLike(String value) {
            addCriterion("CASE_STATE not like", value, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateIn(List<String> values) {
            addCriterion("CASE_STATE in", values, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateNotIn(List<String> values) {
            addCriterion("CASE_STATE not in", values, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateBetween(String value1, String value2) {
            addCriterion("CASE_STATE between", value1, value2, "caseState");
            return (Criteria) this;
        }

        public Criteria andCaseStateNotBetween(String value1, String value2) {
            addCriterion("CASE_STATE not between", value1, value2, "caseState");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyIsNull() {
            addCriterion("WORK_FLOW_KEY is null");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyIsNotNull() {
            addCriterion("WORK_FLOW_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyEqualTo(String value) {
            addCriterion("WORK_FLOW_KEY =", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyNotEqualTo(String value) {
            addCriterion("WORK_FLOW_KEY <>", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyGreaterThan(String value) {
            addCriterion("WORK_FLOW_KEY >", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyGreaterThanOrEqualTo(String value) {
            addCriterion("WORK_FLOW_KEY >=", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyLessThan(String value) {
            addCriterion("WORK_FLOW_KEY <", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyLessThanOrEqualTo(String value) {
            addCriterion("WORK_FLOW_KEY <=", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyLike(String value) {
            addCriterion("WORK_FLOW_KEY like", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyNotLike(String value) {
            addCriterion("WORK_FLOW_KEY not like", value, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyIn(List<String> values) {
            addCriterion("WORK_FLOW_KEY in", values, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyNotIn(List<String> values) {
            addCriterion("WORK_FLOW_KEY not in", values, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyBetween(String value1, String value2) {
            addCriterion("WORK_FLOW_KEY between", value1, value2, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowKeyNotBetween(String value1, String value2) {
            addCriterion("WORK_FLOW_KEY not between", value1, value2, "workFlowKey");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdIsNull() {
            addCriterion("WORK_FLOW_ID is null");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdIsNotNull() {
            addCriterion("WORK_FLOW_ID is not null");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdEqualTo(String value) {
            addCriterion("WORK_FLOW_ID =", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdNotEqualTo(String value) {
            addCriterion("WORK_FLOW_ID <>", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdGreaterThan(String value) {
            addCriterion("WORK_FLOW_ID >", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdGreaterThanOrEqualTo(String value) {
            addCriterion("WORK_FLOW_ID >=", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdLessThan(String value) {
            addCriterion("WORK_FLOW_ID <", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdLessThanOrEqualTo(String value) {
            addCriterion("WORK_FLOW_ID <=", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdLike(String value) {
            addCriterion("WORK_FLOW_ID like", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdNotLike(String value) {
            addCriterion("WORK_FLOW_ID not like", value, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdIn(List<String> values) {
            addCriterion("WORK_FLOW_ID in", values, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdNotIn(List<String> values) {
            addCriterion("WORK_FLOW_ID not in", values, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdBetween(String value1, String value2) {
            addCriterion("WORK_FLOW_ID between", value1, value2, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andWorkFlowIdNotBetween(String value1, String value2) {
            addCriterion("WORK_FLOW_ID not between", value1, value2, "workFlowId");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeIsNull() {
            addCriterion("CASE_BARCODE is null");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeIsNotNull() {
            addCriterion("CASE_BARCODE is not null");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeEqualTo(String value) {
            addCriterion("CASE_BARCODE =", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeNotEqualTo(String value) {
            addCriterion("CASE_BARCODE <>", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeGreaterThan(String value) {
            addCriterion("CASE_BARCODE >", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_BARCODE >=", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeLessThan(String value) {
            addCriterion("CASE_BARCODE <", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeLessThanOrEqualTo(String value) {
            addCriterion("CASE_BARCODE <=", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeLike(String value) {
            addCriterion("CASE_BARCODE like", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeNotLike(String value) {
            addCriterion("CASE_BARCODE not like", value, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeIn(List<String> values) {
            addCriterion("CASE_BARCODE in", values, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeNotIn(List<String> values) {
            addCriterion("CASE_BARCODE not in", values, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeBetween(String value1, String value2) {
            addCriterion("CASE_BARCODE between", value1, value2, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andCaseBarcodeNotBetween(String value1, String value2) {
            addCriterion("CASE_BARCODE not between", value1, value2, "caseBarcode");
            return (Criteria) this;
        }

        public Criteria andIssueTypeIsNull() {
            addCriterion("ISSUE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andIssueTypeIsNotNull() {
            addCriterion("ISSUE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andIssueTypeEqualTo(String value) {
            addCriterion("ISSUE_TYPE =", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeNotEqualTo(String value) {
            addCriterion("ISSUE_TYPE <>", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeGreaterThan(String value) {
            addCriterion("ISSUE_TYPE >", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ISSUE_TYPE >=", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeLessThan(String value) {
            addCriterion("ISSUE_TYPE <", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeLessThanOrEqualTo(String value) {
            addCriterion("ISSUE_TYPE <=", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeLike(String value) {
            addCriterion("ISSUE_TYPE like", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeNotLike(String value) {
            addCriterion("ISSUE_TYPE not like", value, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeIn(List<String> values) {
            addCriterion("ISSUE_TYPE in", values, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeNotIn(List<String> values) {
            addCriterion("ISSUE_TYPE not in", values, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeBetween(String value1, String value2) {
            addCriterion("ISSUE_TYPE between", value1, value2, "issueType");
            return (Criteria) this;
        }

        public Criteria andIssueTypeNotBetween(String value1, String value2) {
            addCriterion("ISSUE_TYPE not between", value1, value2, "issueType");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdIsNull() {
            addCriterion("ACCEPT_USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdIsNotNull() {
            addCriterion("ACCEPT_USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdEqualTo(String value) {
            addCriterion("ACCEPT_USER_ID =", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdNotEqualTo(String value) {
            addCriterion("ACCEPT_USER_ID <>", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdGreaterThan(String value) {
            addCriterion("ACCEPT_USER_ID >", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("ACCEPT_USER_ID >=", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdLessThan(String value) {
            addCriterion("ACCEPT_USER_ID <", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdLessThanOrEqualTo(String value) {
            addCriterion("ACCEPT_USER_ID <=", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdLike(String value) {
            addCriterion("ACCEPT_USER_ID like", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdNotLike(String value) {
            addCriterion("ACCEPT_USER_ID not like", value, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdIn(List<String> values) {
            addCriterion("ACCEPT_USER_ID in", values, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdNotIn(List<String> values) {
            addCriterion("ACCEPT_USER_ID not in", values, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdBetween(String value1, String value2) {
            addCriterion("ACCEPT_USER_ID between", value1, value2, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptUserIdNotBetween(String value1, String value2) {
            addCriterion("ACCEPT_USER_ID not between", value1, value2, "acceptUserId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdIsNull() {
            addCriterion("ACCEPT_DEPT_ID is null");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdIsNotNull() {
            addCriterion("ACCEPT_DEPT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdEqualTo(String value) {
            addCriterion("ACCEPT_DEPT_ID =", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdNotEqualTo(String value) {
            addCriterion("ACCEPT_DEPT_ID <>", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdGreaterThan(String value) {
            addCriterion("ACCEPT_DEPT_ID >", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("ACCEPT_DEPT_ID >=", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdLessThan(String value) {
            addCriterion("ACCEPT_DEPT_ID <", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdLessThanOrEqualTo(String value) {
            addCriterion("ACCEPT_DEPT_ID <=", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdLike(String value) {
            addCriterion("ACCEPT_DEPT_ID like", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdNotLike(String value) {
            addCriterion("ACCEPT_DEPT_ID not like", value, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdIn(List<String> values) {
            addCriterion("ACCEPT_DEPT_ID in", values, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdNotIn(List<String> values) {
            addCriterion("ACCEPT_DEPT_ID not in", values, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdBetween(String value1, String value2) {
            addCriterion("ACCEPT_DEPT_ID between", value1, value2, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andAcceptDeptIdNotBetween(String value1, String value2) {
            addCriterion("ACCEPT_DEPT_ID not between", value1, value2, "acceptDeptId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdIsNull() {
            addCriterion("WORKWIN_ID is null");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdIsNotNull() {
            addCriterion("WORKWIN_ID is not null");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdEqualTo(String value) {
            addCriterion("WORKWIN_ID =", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdNotEqualTo(String value) {
            addCriterion("WORKWIN_ID <>", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdGreaterThan(String value) {
            addCriterion("WORKWIN_ID >", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdGreaterThanOrEqualTo(String value) {
            addCriterion("WORKWIN_ID >=", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdLessThan(String value) {
            addCriterion("WORKWIN_ID <", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdLessThanOrEqualTo(String value) {
            addCriterion("WORKWIN_ID <=", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdLike(String value) {
            addCriterion("WORKWIN_ID like", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdNotLike(String value) {
            addCriterion("WORKWIN_ID not like", value, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdIn(List<String> values) {
            addCriterion("WORKWIN_ID in", values, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdNotIn(List<String> values) {
            addCriterion("WORKWIN_ID not in", values, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdBetween(String value1, String value2) {
            addCriterion("WORKWIN_ID between", value1, value2, "workwinId");
            return (Criteria) this;
        }

        public Criteria andWorkwinIdNotBetween(String value1, String value2) {
            addCriterion("WORKWIN_ID not between", value1, value2, "workwinId");
            return (Criteria) this;
        }

        public Criteria andIsHangupIsNull() {
            addCriterion("IS_HANGUP is null");
            return (Criteria) this;
        }

        public Criteria andIsHangupIsNotNull() {
            addCriterion("IS_HANGUP is not null");
            return (Criteria) this;
        }

        public Criteria andIsHangupEqualTo(String value) {
            addCriterion("IS_HANGUP =", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupNotEqualTo(String value) {
            addCriterion("IS_HANGUP <>", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupGreaterThan(String value) {
            addCriterion("IS_HANGUP >", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupGreaterThanOrEqualTo(String value) {
            addCriterion("IS_HANGUP >=", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupLessThan(String value) {
            addCriterion("IS_HANGUP <", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupLessThanOrEqualTo(String value) {
            addCriterion("IS_HANGUP <=", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupLike(String value) {
            addCriterion("IS_HANGUP like", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupNotLike(String value) {
            addCriterion("IS_HANGUP not like", value, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupIn(List<String> values) {
            addCriterion("IS_HANGUP in", values, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupNotIn(List<String> values) {
            addCriterion("IS_HANGUP not in", values, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupBetween(String value1, String value2) {
            addCriterion("IS_HANGUP between", value1, value2, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsHangupNotBetween(String value1, String value2) {
            addCriterion("IS_HANGUP not between", value1, value2, "isHangup");
            return (Criteria) this;
        }

        public Criteria andIsPublicIsNull() {
            addCriterion("IS_PUBLIC is null");
            return (Criteria) this;
        }

        public Criteria andIsPublicIsNotNull() {
            addCriterion("IS_PUBLIC is not null");
            return (Criteria) this;
        }

        public Criteria andIsPublicEqualTo(String value) {
            addCriterion("IS_PUBLIC =", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotEqualTo(String value) {
            addCriterion("IS_PUBLIC <>", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicGreaterThan(String value) {
            addCriterion("IS_PUBLIC >", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicGreaterThanOrEqualTo(String value) {
            addCriterion("IS_PUBLIC >=", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicLessThan(String value) {
            addCriterion("IS_PUBLIC <", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicLessThanOrEqualTo(String value) {
            addCriterion("IS_PUBLIC <=", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicLike(String value) {
            addCriterion("IS_PUBLIC like", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotLike(String value) {
            addCriterion("IS_PUBLIC not like", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicIn(List<String> values) {
            addCriterion("IS_PUBLIC in", values, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotIn(List<String> values) {
            addCriterion("IS_PUBLIC not in", values, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicBetween(String value1, String value2) {
            addCriterion("IS_PUBLIC between", value1, value2, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotBetween(String value1, String value2) {
            addCriterion("IS_PUBLIC not between", value1, value2, "isPublic");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdIsNull() {
            addCriterion("ASSIGN_DEPT_ID is null");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdIsNotNull() {
            addCriterion("ASSIGN_DEPT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdEqualTo(String value) {
            addCriterion("ASSIGN_DEPT_ID =", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdNotEqualTo(String value) {
            addCriterion("ASSIGN_DEPT_ID <>", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdGreaterThan(String value) {
            addCriterion("ASSIGN_DEPT_ID >", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("ASSIGN_DEPT_ID >=", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdLessThan(String value) {
            addCriterion("ASSIGN_DEPT_ID <", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdLessThanOrEqualTo(String value) {
            addCriterion("ASSIGN_DEPT_ID <=", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdLike(String value) {
            addCriterion("ASSIGN_DEPT_ID like", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdNotLike(String value) {
            addCriterion("ASSIGN_DEPT_ID not like", value, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdIn(List<String> values) {
            addCriterion("ASSIGN_DEPT_ID in", values, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdNotIn(List<String> values) {
            addCriterion("ASSIGN_DEPT_ID not in", values, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdBetween(String value1, String value2) {
            addCriterion("ASSIGN_DEPT_ID between", value1, value2, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andAssignDeptIdNotBetween(String value1, String value2) {
            addCriterion("ASSIGN_DEPT_ID not between", value1, value2, "assignDeptId");
            return (Criteria) this;
        }

        public Criteria andGuideIdsIsNull() {
            addCriterion("GUIDE_IDS is null");
            return (Criteria) this;
        }

        public Criteria andGuideIdsIsNotNull() {
            addCriterion("GUIDE_IDS is not null");
            return (Criteria) this;
        }

        public Criteria andGuideIdsEqualTo(String value) {
            addCriterion("GUIDE_IDS =", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsNotEqualTo(String value) {
            addCriterion("GUIDE_IDS <>", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsGreaterThan(String value) {
            addCriterion("GUIDE_IDS >", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsGreaterThanOrEqualTo(String value) {
            addCriterion("GUIDE_IDS >=", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsLessThan(String value) {
            addCriterion("GUIDE_IDS <", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsLessThanOrEqualTo(String value) {
            addCriterion("GUIDE_IDS <=", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsLike(String value) {
            addCriterion("GUIDE_IDS like", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsNotLike(String value) {
            addCriterion("GUIDE_IDS not like", value, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsIn(List<String> values) {
            addCriterion("GUIDE_IDS in", values, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsNotIn(List<String> values) {
            addCriterion("GUIDE_IDS not in", values, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsBetween(String value1, String value2) {
            addCriterion("GUIDE_IDS between", value1, value2, "guideIds");
            return (Criteria) this;
        }

        public Criteria andGuideIdsNotBetween(String value1, String value2) {
            addCriterion("GUIDE_IDS not between", value1, value2, "guideIds");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameIsNull() {
            addCriterion("ACCEPT_USER_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameIsNotNull() {
            addCriterion("ACCEPT_USER_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameEqualTo(String value) {
            addCriterion("ACCEPT_USER_NAME =", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameNotEqualTo(String value) {
            addCriterion("ACCEPT_USER_NAME <>", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameGreaterThan(String value) {
            addCriterion("ACCEPT_USER_NAME >", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("ACCEPT_USER_NAME >=", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameLessThan(String value) {
            addCriterion("ACCEPT_USER_NAME <", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameLessThanOrEqualTo(String value) {
            addCriterion("ACCEPT_USER_NAME <=", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameLike(String value) {
            addCriterion("ACCEPT_USER_NAME like", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameNotLike(String value) {
            addCriterion("ACCEPT_USER_NAME not like", value, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameIn(List<String> values) {
            addCriterion("ACCEPT_USER_NAME in", values, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameNotIn(List<String> values) {
            addCriterion("ACCEPT_USER_NAME not in", values, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameBetween(String value1, String value2) {
            addCriterion("ACCEPT_USER_NAME between", value1, value2, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andAcceptUserNameNotBetween(String value1, String value2) {
            addCriterion("ACCEPT_USER_NAME not between", value1, value2, "acceptUserName");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhIsNull() {
            addCriterion("CASE_BJBH is null");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhIsNotNull() {
            addCriterion("CASE_BJBH is not null");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhEqualTo(String value) {
            addCriterion("CASE_BJBH =", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhNotEqualTo(String value) {
            addCriterion("CASE_BJBH <>", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhGreaterThan(String value) {
            addCriterion("CASE_BJBH >", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhGreaterThanOrEqualTo(String value) {
            addCriterion("CASE_BJBH >=", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhLessThan(String value) {
            addCriterion("CASE_BJBH <", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhLessThanOrEqualTo(String value) {
            addCriterion("CASE_BJBH <=", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhLike(String value) {
            addCriterion("CASE_BJBH like", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhNotLike(String value) {
            addCriterion("CASE_BJBH not like", value, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhIn(List<String> values) {
            addCriterion("CASE_BJBH in", values, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhNotIn(List<String> values) {
            addCriterion("CASE_BJBH not in", values, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhBetween(String value1, String value2) {
            addCriterion("CASE_BJBH between", value1, value2, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCaseBjbhNotBetween(String value1, String value2) {
            addCriterion("CASE_BJBH not between", value1, value2, "caseBjbh");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeIsNull() {
            addCriterion("CALL_SIGN_BUSINESS_CODE is null");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeIsNotNull() {
            addCriterion("CALL_SIGN_BUSINESS_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeEqualTo(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE =", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeNotEqualTo(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE <>", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeGreaterThan(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE >", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE >=", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeLessThan(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE <", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeLessThanOrEqualTo(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE <=", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeLike(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE like", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeNotLike(String value) {
            addCriterion("CALL_SIGN_BUSINESS_CODE not like", value, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeIn(List<String> values) {
            addCriterion("CALL_SIGN_BUSINESS_CODE in", values, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeNotIn(List<String> values) {
            addCriterion("CALL_SIGN_BUSINESS_CODE not in", values, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeBetween(String value1, String value2) {
            addCriterion("CALL_SIGN_BUSINESS_CODE between", value1, value2, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andCallSignBusinessCodeNotBetween(String value1, String value2) {
            addCriterion("CALL_SIGN_BUSINESS_CODE not between", value1, value2, "callSignBusinessCode");
            return (Criteria) this;
        }

        public Criteria andIsDistributeIsNull() {
            addCriterion("IS_DISTRIBUTE is null");
            return (Criteria) this;
        }

        public Criteria andIsDistributeIsNotNull() {
            addCriterion("IS_DISTRIBUTE is not null");
            return (Criteria) this;
        }

        public Criteria andIsDistributeEqualTo(String value) {
            addCriterion("IS_DISTRIBUTE =", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeNotEqualTo(String value) {
            addCriterion("IS_DISTRIBUTE <>", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeGreaterThan(String value) {
            addCriterion("IS_DISTRIBUTE >", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeGreaterThanOrEqualTo(String value) {
            addCriterion("IS_DISTRIBUTE >=", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeLessThan(String value) {
            addCriterion("IS_DISTRIBUTE <", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeLessThanOrEqualTo(String value) {
            addCriterion("IS_DISTRIBUTE <=", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeLike(String value) {
            addCriterion("IS_DISTRIBUTE like", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeNotLike(String value) {
            addCriterion("IS_DISTRIBUTE not like", value, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeIn(List<String> values) {
            addCriterion("IS_DISTRIBUTE in", values, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeNotIn(List<String> values) {
            addCriterion("IS_DISTRIBUTE not in", values, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeBetween(String value1, String value2) {
            addCriterion("IS_DISTRIBUTE between", value1, value2, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andIsDistributeNotBetween(String value1, String value2) {
            addCriterion("IS_DISTRIBUTE not between", value1, value2, "isDistribute");
            return (Criteria) this;
        }

        public Criteria andDistributeStateIsNull() {
            addCriterion("DISTRIBUTE_STATE is null");
            return (Criteria) this;
        }

        public Criteria andDistributeStateIsNotNull() {
            addCriterion("DISTRIBUTE_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andDistributeStateEqualTo(String value) {
            addCriterion("DISTRIBUTE_STATE =", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateNotEqualTo(String value) {
            addCriterion("DISTRIBUTE_STATE <>", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateGreaterThan(String value) {
            addCriterion("DISTRIBUTE_STATE >", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateGreaterThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTE_STATE >=", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateLessThan(String value) {
            addCriterion("DISTRIBUTE_STATE <", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateLessThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTE_STATE <=", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateLike(String value) {
            addCriterion("DISTRIBUTE_STATE like", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateNotLike(String value) {
            addCriterion("DISTRIBUTE_STATE not like", value, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateIn(List<String> values) {
            addCriterion("DISTRIBUTE_STATE in", values, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateNotIn(List<String> values) {
            addCriterion("DISTRIBUTE_STATE not in", values, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateBetween(String value1, String value2) {
            addCriterion("DISTRIBUTE_STATE between", value1, value2, "distributeState");
            return (Criteria) this;
        }

        public Criteria andDistributeStateNotBetween(String value1, String value2) {
            addCriterion("DISTRIBUTE_STATE not between", value1, value2, "distributeState");
            return (Criteria) this;
        }

        public Criteria andIsPrecityIsNull() {
            addCriterion("IS_PRECITY is null");
            return (Criteria) this;
        }

        public Criteria andIsPrecityIsNotNull() {
            addCriterion("IS_PRECITY is not null");
            return (Criteria) this;
        }

        public Criteria andIsPrecityEqualTo(Integer value) {
            addCriterion("IS_PRECITY =", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityNotEqualTo(Integer value) {
            addCriterion("IS_PRECITY <>", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityGreaterThan(Integer value) {
            addCriterion("IS_PRECITY >", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_PRECITY >=", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityLessThan(Integer value) {
            addCriterion("IS_PRECITY <", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityLessThanOrEqualTo(Integer value) {
            addCriterion("IS_PRECITY <=", value, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityIn(List<Integer> values) {
            addCriterion("IS_PRECITY in", values, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityNotIn(List<Integer> values) {
            addCriterion("IS_PRECITY not in", values, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityBetween(Integer value1, Integer value2) {
            addCriterion("IS_PRECITY between", value1, value2, "isPrecity");
            return (Criteria) this;
        }

        public Criteria andIsPrecityNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_PRECITY not between", value1, value2, "isPrecity");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}